package com.usian.skill.service;

import com.usian.skill.pojo.OrderInfo;
import com.usian.skill.vo.GoodsVo;

import java.awt.image.BufferedImage;

/**
 * ClassName: SkillService
 * Author:   WGG
 * Date:    2022-12-2022/12/12-16:52
 * Version: 1.0
 * Description:
 */
public interface SkillService {
    public OrderInfo skill(Long userId, GoodsVo goodsVo);

    long getSkillResult(String userId, long goodsId);

    public String createMiaoShaPath(String userId ,long goodsId);

    public boolean checkPath(String userId ,long goodsId,String path);

    public BufferedImage createVerifyCode(String user, long goodsId);

    public boolean checkVerifyCode(String user, long goodsId, int verifyCode);
}
